package com.wrong.desgin.applicaiton;

import java.util.concurrent.TimeUnit;

/**
 * @author: hliushi
 * @date: 2022/12/5 22:45
 **/
public interface CacheService {

    Object get(final String key);

    void set(String key, Object value);

    void set(String key, Object value, long timeout, TimeUnit unit);

    void del(String key);
}
